import React, { Component } from 'react'
import { AppRegistry, View, StyleSheet } from 'react-native';
import SplashScreen from 'react-native-splash-screen'
import { Root } from 'native-base'
import App from './src/index';

const styles = StyleSheet.create({
  container: {
    flex: 1
  }
});
export default class yuejianApp extends Component {
  componentDidMount() {
    SplashScreen.hide();//关闭启动屏幕
  }
  render() {
    return (
      <View style={styles.container}>
        <Root>
          <App />
        </Root>
      </View>
    );
  }
}

AppRegistry.registerComponent('Travels', () => yuejianApp);
